package com.season.seasonStudy.javase.j_017_enum0.petdemo;

public abstract class Pet {
	public abstract void play();
}

class Dog extends Pet {
	@Override
	public void play() {
		System.out.println("wangwang");
	}
}

class Cat extends Pet {
	@Override
	public void play() {}
}

class Qie extends Pet {
	@Override
	public void play() {}
}
